<?php ?>
<div id="galleryWrapper grid_11" >
<h4 class="aligncenter galleryTitle">Gallery Title: <?php if( !empty($galleryTitle) ){echo $galleryTitle;}?></h4>
<div id="galleryControl" >
<form id="GalleryControl" >
<span>Thumb Size:</span>
<?php 
	if(empty($defaultThumbsize)){
		$defaultThumbsize = '90';
	}
	$options = array(
                  '40'  => 'Small',
                  '90'    => 'Medium',
                  '150'   => 'Large',
                  '250' => 'Extra Large',
                );
	$additional = 'class="niceform" id="defaultThumbsize"';
	echo form_dropdown('defaultThumbsize', $options, $defaultThumbsize,$additional);
	?>
</form>
</div>
<div class="grid_11" >


<?php 
if( !empty($gallery) ){echo $gallery;}

?>
</div>
</div>